package org.jeecg.modules.yw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.yw.entity.ReportInfo;
import org.jeecg.modules.yw.vo.MonthVo;
import org.jeecg.modules.yw.vo.OtherVo;
import org.jeecg.modules.yw.vo.PeopleVo;
import org.jeecg.modules.yw.vo.ReportInfoQueryListVo;
import java.util.List;

@Mapper
public interface ReportInfoMapper extends BaseMapper<ReportInfo> {
    PeopleVo peopleCount();
    List<MonthVo> monthCount(@Param("year") int year);

    List<MonthVo> monthpeople(@Param("year")int year);

    List<MonthVo> monthpeople1(@Param("year")int year);

    List<MonthVo> monthpeople2(@Param("year")int year);

    OtherVo other(@Param("year")int year, @Param("yearMonth") String yearMonth);
    IPage<ReportInfoQueryListVo> pageReg(Page<ReportInfoQueryListVo> page,
                              @Param("id") String id,
                              @Param("useTime") String useTime);
}
